﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BundleConfig.cs" company="KriaSoft LLC">
//   Copyright © 2013 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace CERT
{
    using System.Web.Optimization;

    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new Bundle("~/bundles/modernizr")
               .Include("~/Scripts/modernizr-2.6.2.js")
               );
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                      "~/Scripts/jquery-{version}.js")
                       .Include("~/Scripts/jquery.passstrength.js"));
            bundles.Add(new ScriptBundle("~/bundles/jqueryui")

               );

            bundles.Add(new ScriptBundle("~/js/angular")
                .Include("~/Scripts/angular.js")
                .Include("~/Scripts/angular-resource.js")
               .Include("~/Scripts/bootstrap.js")
               .Include("~/Scripts/ui-bootstrap-{version}.js")
               .Include("~/Scripts/ui-bootstrap-tpls-{version}.js")
               .Include("~/Scripts/angular-cookies.js")
               .Include("~/Scripts/angular-route.js")
               .Include("~/Scripts/angular-ui-router.js")
               .Include("~/Scripts/angular-ui.js")
              
               .Include("~/Scripts/angular-ui-select/select2.js")
               .Include("~/Scripts/datePicker.js")
               .Include("~/Scripts/dateRange.js")
                //.Include("~/Scripts/input.js")
               .Include("~/Scripts/toastr.js")
               .Include("~/Scripts/geocoder.js")
               .Include("~/Scripts/ngStorage.js")
                .Include("~/Scripts/jquery-ui-{version}.js")
                 .Include("~/Scripts/underscore.js")
                .Include("~/Scripts/angular-underscore-module.js")
                .Include("~/Scripts/select2.js")
  .Include("~/Scripts/gestures.js")
             );
            bundles.Add(new ScriptBundle("~/bundles/ajaxlogin").Include(
             "~/Scripts/app/ajaxlogin.js"));

            bundles.Add(new ScriptBundle("~/js/app").Include(
                "~/scripts/angular-ui-router.js",

                "~/scripts/app/app.js",
                "~/scripts/app/filters.js",
                "~/scripts/app/services.js",
                "~/scripts/app/directives.js",
                "~/scripts/app/controllers.js"
                ));

            bundles.Add(new Bundle("~/Content/files/css-one")
              .Include("~/Content/app/CERT.css")
              .Include("~/Content/bootstrap.css")

            );

            bundles.Add(new Bundle("~/Content/files/css-two")

              .Include("~/Content/bootstrap-responsive.css")
                .Include("~/Content/font-awesome.css")
               .Include("~/Content/angular-ui.css")
               .Include("~/Content/css/select2.css")
                .Include("~/Content/toastr.css")
               .Include("~/Content/bootstrap-timepicker.css")
                .Include("~/Content/bootstrap-datepicker.css")
                  );
        }
    }
}